package zj.chunan.menu.model;

import java.util.List;

public class TreeNode {
		// ID
		private int tid;
		// 父节点ID
		private int parentid;
		// title
		private String text ;
		// URL
		private String href;
		// 是否是叶节点
	    private boolean leaf;
	    // CLS
	    private String cls;
	    // 
		private List<TreeNode> children;
		
		public String getHref() {
			return href;
		}

		public void setHref(String href) {
			this.href = href;
		}

		public int getParentid() {
			return parentid;
		}

		public void setParentid(int parentid) {
			this.parentid = parentid;
		}

		public String getText() {
			return text;
		}

		public void setText(String text) {
			this.text = text;
		}

		public int getTid() {
			return tid;
		}

		public void setTid(int tid) {
			this.tid = tid;
		}

		public List<TreeNode> getChildren() {
			return children;
		}

		public void setChildren(List<TreeNode> children) {
			this.children = children;
		}

		public boolean isLeaf() {
			return leaf;
		}

		public void setLeaf(boolean leaf) {
			this.leaf = leaf;
		}

		public String getCls() {
			return cls;
		}

		public void setCls(String cls) {
			this.cls = cls;
		}
		
		
}
